<?php
set_include_path(dirname(dirname(__FILE__)));
include 'class/base.php';
include 'class/idecorator.php';
include 'class/decorator/weibo.php';
include 'class/decorator/nickname.php';
include 'class/decorator/url.php';
include 'class/decorator/emotion.php';
include 'class/decorator/image.php';

$weibo = new Weibo();
$dUrl = new Url();
$dNickname = new Nickname();
$dEmotion = new Emotion();
$dImage = new Image();

$weibo->show();
$dUrl->decorator($weibo);
$weibo->show();
$dNickname->decorator($weibo);
$weibo->show();
$dEmotion->decorator($weibo);
$weibo->show();
$dImage->decorator($weibo);
$weibo->show();
